package org.jmh.org.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import org.jmh.base.domain.BaseDomain;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author lingfeng
 * @since 2024-05-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("user")
public class User extends BaseDomain{

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "序号")
    private Long id;

    @TableField("`name`")
    @Excel(name = "名称",groupName = "名字",orderNum = "0",fixedIndex = 0)
    private String name;

    @TableField("bname")
    @Excel(name = "别名",groupName = "别名",orderNum = "1",fixedIndex = 1)
    private String bname;

    @TableField("department")
    @Excel(name = "公司",groupName = "公司",orderNum = "2",fixedIndex = 2)
    private String department;

    @TableField("job")
    @Excel(name = "职位",groupName = "职位",orderNum = "3",fixedIndex = 3)
    private String job;

    @TableField("email")
    @Excel(name = "邮箱",groupName = "邮箱",orderNum = "4",fixedIndex = 4)
    private String email;

    @TableField("phone")
    @Excel(name = "电话",groupName = "电话",orderNum = "5",fixedIndex = 5)
    private String phone;


}
